home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Open Transport 1.3 / Open Transport SDK / Open Tpt Module Developer / Samples / Makefile.SampleModules.68K < prev    next >
Encoding:
Makefile  |  1998-04-30  |  1.3 KB  |  54 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        Makefile.SampleModules.68K
  3. #
  4. #    Contains:    Makefile for the Module Samples
  5. #
  6. #    Copyright:    © 1993-1996 by Apple Computer, Inc., all rights reserved.
  7. #
  8. #
  9.  
  10. COptions = {MyPreCOptions} -model far -sym on,nolines -mf -b2 -opt full -w1 {MyCOptions}
  11.  
  12. StdCIncludes = -i "{OTIncludes}" -i "{OTModIncludes}" -i "{CIncludes}"
  13.  
  14. .c.o    ƒ    .c
  15.     C {DepDir}{Default}.c -o {Targ} {COptions} {StdCIncludes}
  16.  
  17. all    ƒ    "OT Sample Module Library"
  18.  
  19. Resources = EchoModule.RSC FilterModule.RSC
  20.  
  21. "EchoModule.RSC"    ƒ EchoModule.c.o
  22.     BuildSharedLibrary "EchoModule.c.o" ∂
  23.         -useC ∂
  24.         -lib "EchoModule.RSC" ∂
  25.         -far "EchoModule.cl.o" ∂
  26.         -exp "EchoModule.exp" ∂
  27.         -restype cd01 -resid 01  ∂
  28.         {StdCIncludes} ∂
  29.         -obj "EchoModule" ∂
  30.         "{OTLibs}OpenTptModule.o" ∂
  31.         "{ASLMLibs}"LibraryManager.o ∂
  32.         "{Libraries}"MacRunTime.o 
  33.  
  34. "FilterModule.RSC"    ƒ FilterModule.c.o
  35.     BuildSharedLibrary "FilterModule.c.o" ∂
  36.         -useC ∂
  37.         -lib "FilterModule.RSC" ∂
  38.         -far "FilterModule.cl.o" ∂
  39.         -exp "FilterModule.exp" ∂
  40.         -restype cd02 -resid 02  ∂
  41.         {StdCIncludes} ∂
  42.         -obj "FilterModule" ∂
  43.         "{OTLibs}OpenTptModule.o" ∂
  44.         "{ASLMLibs}"LibraryManager.o ∂
  45.         "{Libraries}"MacRunTime.o 
  46.  
  47. "OT Sample Module Library"    ƒƒ FilterModule.RSC EchoModule.RSC ∂
  48.         "{RIncludes}SysTypes.r" ∂
  49.         "EchoModule.RSC" ∂
  50.         "FilterModule.RSC"
  51.     If {Progress}; Echo "∂t∂tRezzing {Targ}"; End
  52.     Rez -t libr -c OMGR -s ":" ∂
  53.         -o {Targ} SampleModuleLib.r
  54.